package com.ruoyi.system.domain.api;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 用户签到对象 t_task_user
 * 
 * @author ruoyi
 * @date 2022-04-24
 */
public class TTaskUser extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 用户ID */
    @Excel(name = "用户ID")
    private Long userId;

    /** 签到天数 */
    @Excel(name = "签到天数")
    private String signTime;

    /** 累计签到天数 */
    @Excel(name = "累计签到天数")
    private Long totalSign;

    /** 奖励  */
    @Excel(name = "奖励 ")
    private BigDecimal reward;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private BigDecimal power;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }
    public void setSignTime(String signTime) 
    {
        this.signTime = signTime;
    }

    public String getSignTime() 
    {
        return signTime;
    }
    public void setTotalSign(Long totalSign) 
    {
        this.totalSign = totalSign;
    }

    public Long getTotalSign() 
    {
        return totalSign;
    }
    public void setReward(BigDecimal reward) 
    {
        this.reward = reward;
    }

    public BigDecimal getReward() 
    {
        return reward;
    }
    public void setPower(BigDecimal power) 
    {
        this.power = power;
    }

    public BigDecimal getPower() 
    {
        return power;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("userId", getUserId())
            .append("signTime", getSignTime())
            .append("totalSign", getTotalSign())
            .append("reward", getReward())
            .append("power", getPower())
            .append("createTime", getCreateTime())
            .toString();
    }
}
